Add pauseWhenPausedDoesNothing-test and implementation