Test results are now only logged out once. Fixes #2

Restructures how `stdout` and `stderr` are logged.