mocked CGI in regression test, since CGI moved out of core in 5.21+