added test to ensure tranformation is executed and min/max points of envelope are on the right corner of envelope