more complex unit test for memory