Added Before, After, BeforeEach, AfterEach functions