Added test for convert