removed memory leaks from maf2 tests
Merge branch 'memoryleakremoval' into maf2medicalintegration