Implemented an integration-test for the transformer