Add test-helper `normalize_output`