Added some tests for event handling (sensor -> Ngmon -> client)