#9 fix some minor problems and add SchedulingAdvisorTest with initial implementation