Added better pause-resume test. Now it works.