Separate utility methods and custom assertions from the test