Re-organize config services test code to be able to run schema transformer test successfully.

Change-Id: I3d6ea93abe64cbc8c0179199ae58f06626f53cdd
(cherry picked from commit a845623f3cf3b66779c01c14c2796b9e34534a0e)
Merge "Re-organize config services test code to be able to run schema transformer test successfully." into R1.10