Moved test utilities to TestUtilities.