Move the assert equals to a new util class