Removed extra line breaks from unittest output.

Removed extra line breaks to allow for a more compact unittest output, which helps with projects that have a lot of unit tests. Also fixed some trailing spaces.