Added tests for the schedule parser, and moved it to it's own file