event and logout tests added