more stabilized tests. Using events for time measurements