Fixed some faulty tests. Added tests and implementations for some of the transformations