check #63 and improve test case added in d8277a51

the original fix was to make sure the call to CGI->new with the PUT
method and no content length did not hang, but the test case does
not make sure there is a timeout on the call to CGI->new so should
this regress we will have a test that hands. add a timeout of 10s
to make sure this test always exits with either a pass or a fail