add pause/resume feature + test
2.0.0