This commit includes tests for the authority_view host functions when the host type is invalid. This is a partial solution to #828, where authority_view.cpp has low coverage.
fix #819
fix #743