add a test for resetting documentLocales