Clean memsearch tests