Added tests for complex transformations