Refactor timetableFrame test