An exercise in fixing a broken test suite of a Rails 4.0 app