Add test case for scanning empty wav files.

This is a complementary test for fix of the occurring deadlock in scanning empty wav files (Issue #483).