DRYing the test a little bit