Fix and test test results in console output

This fixes a small bug in test results printed to the output stream. It addressed the problem I noted in my [comment on a previous pull request](https://github.com/opengeospatial/teamengine/pull/67#issuecomment-65829022).

I also added some testing in TECoreTest.testNestedFailure to verify the output stream content.

With this patch, nested failures in teamengine are behaving correctly for me in a real world project.