small changes to tests.
+clean up in the transformation
+new test with ReaderWriterExample