[TESTS] Fix unit tests for branch es-1.2 and move from es.config to tests.config

Other branches (es-1.x, es-1.4, master) already use -Dtests.config to run the tests. Since there is 1 configuration file for all branches on CI server, I change es-1.2 to also use tests.config system property.