Tests: Restart phantomjs for each 'open' attempt.

This will hopefully catch its random crashes on startup.