Add some basic memory tests