Tests passing for Rails 4