Issue #49 : Make tests for scheduler work