Solved i18n deprecation warning in tests

http://stackoverflow.com/questions/20361428/rails-i18n-validation-deprecation-warning/20381730#20381730