add a test for isPaused()