pgrep should be pkill
Make scheduler-pause-detector test really work