add test for two way converter