Tests

Now that we can use cli-server we can start to put together a decent test suite.

You can get a working test suite with:
TEST_PHP_EXECUTABLE=/opt/php-nts/php /opt/php-nts/php run-tests.php

APC uses the built in server in this way and I can take inspiration from that in order to complete server.include.php which will contain functions to start the embedded server in order to test functionality. We can also manipulate the process to test enable_cli functionality too. I'd like some input before I go ahead and write all this code, pull request seems like a good starting place...