added tests, conversion util