Write and pass schedule validation tests