Added new transform functions and tests for transform functions