DRYs up tests a bit