added tests for transformation method