add unit tests for mkdir. add more comments
reorg masterinfotest
add getPathWithoutSchemaTest util