Separated some of the utility functions out into testutils.py