JBQA-5940 - Create tests for cache created using xml and then configuration overriden using api

New tests are added verifying that the configuration loaded from xml file is overriden and works properly later.