code coverage - improved gen_authority() and path_info() preformance