fix exceptions name erro
add test case for const string escaping