Replaced Rails 3.x specific tests relating to attr_protected.