Make tests search heap for the encrypted string

Copy SearchInHeap straight from SecurerString