Cut down on repitition in unit tests