removed header encoding from test helper