Fixing output when running tests from client