Add function to handle mmtest command
1. It will run 200 times.
2. It will free all allocated memory while it stops allocating memory.