Add *very ugly* transitivy detection for HashTransform

HashTransform itself is a smell. @dkubb No need for fsck now ;) - I'm
spiking here.
Readd integration test, got lost