Add scheduler-pause-detector test