Helper function in tests.
Merge pull request #4 from ssobczak/master

Helper function in tests. Excellent, thanks for the feedback and I'm glad you are finding it useful!