Added check http referal unit tests to base CGI and desktop CGI