Add test for transformations.rb

In all honesty this is a bit nasty since it's basically a test for meta
programming techniques very tightly coupled to Sequel. Maybe we should add
Sequel as gem into the project so we can actually do a real functional
test here.