fixed output again thanks to unit tests

and adjusted the tests a bit for nicer output