testing writability