apply latest conventions to project
first test for transformer
improve tests, fix bug in tests