Added testOutput.py and SyntaxError exceptions in output.py