Added integration testing tools

Please let me know if you're interested in those at all. What's wrong or missing?
This comment (and the one in the next test) is too long and if we replicated the assert before calling either method, I don't think they'd be necessary (i.e. this test assumes that the flag isn't there, so explicitly asserting that pre-condition then re-asserting it is fairly self-documenting).