Refactored specs. Create clickMenuItem test helper method