more precise test for events