add new unit test, test output mapping