Catch all PhantomJS errors in stderr

Fixes #103.
Remove flaky test case