add mkdir() and test cases.