created unit test for getGpsConfig json api