Unit and integration tests for pause/unpause.