fix resumecount test