Fixed crash when decoding bad stereo files. Added audio file decoding test.