Added a sound test function.