Added a test to ensure consistent behavior accross drivers for 500

This ensures that drivers don't throw an exception if the page is a 500.
An exception in visit() is allowed if the HTTP request cannot be
performed, but not if the tested app returns a valid error response.
Merge pull request #500 from stof/test_error500

Added a test to ensure consistent behavior accross drivers for 500