test write +metadata
