Changed testOutput.py so all the test are in one function