fix conversion for symbol
fix conversion for string
add unit test for conversion, as part of #5