test write access