Add spatialMatch memory test.