DRY up the test suite.