Better output formatting for test runner

Unittest outputs to sys.stderr by default. Other outputs are now also
written to stderr. Also added some newlines for better readability.