update transformer tests
improve atom tests
improve writer tests
fix bugs and improve tests
removed unused method