Cleaned up output on tests

I am not sure if this was done on purpose (for the tests themselves) but some of the error handling tests were outputting to the console because log.writer was on. This was showing up in PHPUnits results.

I turned off the log writer in the appropriate tests to fix the log issues, you can maybe verify if this is ok or ruins the test.