add memory performance tests