driver: Fix up phantomjs pool unit tests