[DROOLS-42] add test for equality comparison of objects of 2 different types