Adding tests to cover untested methods in errors_tests.rb

I noticed a couple of methods for ActiveModel::Errors were not covered in its unit test.