Use utility class for boilerplate test code