Used the testharness test.cgi to much more quickly debug syntax errors and then transfered the fixes over to response.cgi.