Add spec coverage for unexpected server errors