tests for writing defined
writing definitions tried (failed).