Add tests fer transforms; fix xxx

* this adds basic tests fer all th' transforms
* fixes th' xxx transform to do a splitlines first