TEST microphone.py - no sound

fixes a bug when tests are run through tests/run.py (os.getcwd() failed maybe due to virtualenv?), and also allows ~52% coverage of microphone.py when tests are run on travis-ci