test write from unix