This is a bad unit test. You're actually testing the implementation of the createAudio function and not just input/outputs.