resolved issues with :ua locale in rspec