Fix test bug in lexical_cast