Add unit tests for lexical_cast