full test of scheduler