mirror function signature change in mock test object
fix silly sudo bug
remove username-userid top-directory check
fix bug in creating user-owned directory under root-owned
have template-splitting behavior better fit documentation