added a quick check helper to integration tests
move code & tests around