JC-1869 Improved unit tests for locale resolution

- Added additional checks for method results
- Added docs for the case related to performance which is not obvious
 from the code