tests for scrub params/headers