added tests on memory traversal