Added missing test for the 'locale' method.