more tests, fix a bug in ws_ parsing at the end of a line
add more unit tests for comon, simplify host