Rails 4 compatibility.

All you should have to do is include in gemfile, and require 'context'
from test_helper.rb