.WAV file cannot be played

Change the test program to read/open the .wav file... If that works compare that code to your other one and
make sure its doing the same stuff for the SD card. RAM usage could be an issue, use verbose mode for upload
and read the output to see if memory is tight?