test for event model created

-[X]updating factories to create event
-[X]random-time helper added to ApplicationHellper
-[X]initial test for model