improve CHARS* macros
add absolute uri test