Add some helpers for common unit test patterns
Merge pull request #79 from cgjones/test-cleanups

Add some helpers for common unit test patterns