fixed missing parameters to memoryTest
Porting to perl
I was waitng for a long time to do this.
Hope we'll have some fun and I'll finish it in time
minor