Fix test for cat, add mkdir test