different approach to recasing test strings
Fixing possible NRE
Fixing path access denied error on MMappedDir
Cleanup