fix writable test