added testing to client side events service