#9: Added tests of the transform() and transform_to_mods(). Fixed #6.