added a little test for memory and size.