MDL-47900 tool_monitor: altered unit tests so they pass

Also expanded on the unit tests to confirm that the unnecessary
events are not being stored in the DB.