Adding the test for schedule so iain can look at it