Added custom status codes to CGI scripts and more CGI tests