Added event trigger before test