LocationScheduleServie and tests