refactor audio test