Audio player test

Fix part of #589 to add unit test for audio playing.
We should delete the file at the end of the test, it isn't strictly needed since we check for existence, but deleting it at the end is more robust