fixed SchedulerTest and brought back missing test in ProcessTest + some other little changes