Move to using a webserver to more accurately run tests