in reply to testing http server

You don't need another testing framework, just read Test::More and use

 eval  { $mech->get.... }; is( $mech->res->code, 500 ); or some such