add memory test