unit test for converterfactory