Improve behaviour if there is a selenium error

Old behaviour: tests would all try to run and fail because selenium was
broken.

New behaviour: beforeall hook fails correctly and we get just one error
telling us the problem.