Created and implemented the test class EventPostTest