REP-729 Add Header Filter

I'd look into that after I address everything else. I can't really think of a better way to do it off the top of my head, but I can move all of these helper methods to the end of the test class so that it's easier to find the actual tests.