Automatically start PhantomJS before tests

This basically just starts up PhantomJS before the tests. I assume it was intentional to leave something like this out; if not, I'd be happy to add tests, etc.