a potentially buggy typo in the CGI test fixed.