added test for isOver