memory test script