Added tests for map transformer
Updates map transform tests and refactor
Implemeted top-level tests for printHandler