#ADD: Add the JsonStringResourcesProviderTest.java unit test and fix some logical errors.