Fix resume test