Adding some code to check the actual 500 error on Travis