Test for Online & Offline events