changed test cases as show_events changed to visible_events