Increased test coverage of various transformer code paths.