adding a `test_handler` test helper method

Just some syntactical suger - no real behavior change.
Merge pull request #54 from redding/kr-test_helpers

adding a `test_handler` test helper method