Added a constructor to Transform
Added more tests