Exit with the number of failures
Reactivate the Rails integration tests; fix resulting issues