Added a test for errors in voiceTest