add TestScanObjects to xgit-test.