more consistent memory tests
add comments