Fixed default_default_locale method

As locale will not be created from XML in tests, so default_locale
should not depend on XML record in tests.