Inside event listener the session from test case was used instead from even itself