fix invalid phpdoc
check that the headers are actually of the correct type
remove dead assignment
don't start the test suite before the built-in web server is available