Override compareTo method for TestGenericValue, the GenericValue compare to access the modelEntity which leads to a NPE
Add delegator.findList(...) fake call