Add TestUtils class, along with helper methods. Fixes #19.

This adds the TestUtils class with relevant methods for addressing #19.