Fixing failed test in rails 4.1, active record 4.1 UnknownAttributeError interface changed.