add xattr operations

add xattr operations with test