test the expected scheduler behavior