add drools fact test code