Added QUnit tests for time table funcitons.