DRYing out the test suite