memory tests

memory tests added