Fix audio tests to ensure playing stops before the file is deleted