add tests for pause