Adding more test coverage for transformations at doc level