normalize test output