Made memory 'tests' test code