get_inode_from_dir passes all tests