get simple scheduler working again, with unit test