This kind of utility function should go at the top of the module or on a base test class.