audio: add test for the new audio device functions