Fix unit tests
Fix newline output of benchmarks