Fixing the junit test for EventForm