Dry up test code a bit.