#516 Fixed tests
#519 added domain management on WS route