test for resumed