Bugfix in tests/memories/run-test.sh