Prevent duplicate entries in callout list

If duplicates exist, only the highest priority callout will remain in
the list.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ibec768b22c944965460010be8867749a8c0f9044
diff --git a/test/meson.build b/test/meson.build
index ea40e4c..dc374fb 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -11,11 +11,15 @@
   'resolution_test',
 ]
 
+analyzer_src = files(
+  '../analyzer/service_data.cpp',
+)
+
 gtest = dependency('gtest', main : true, required : false, method : 'system')
 
 if gtest.found()
     foreach t : tests
-        test(t, executable(t.underscorify(), t + '.cpp',
+        test(t, executable(t.underscorify(), [ t + '.cpp', analyzer_src ],
                            link_with : [ util_lib ],
                            dependencies : [ libhei_dep, gtest ],
                            cpp_args : test_arg,
diff --git a/test/resolution_test.cpp b/test/resolution_test.cpp
index ddca989..d50213d 100644
--- a/test/resolution_test.cpp
+++ b/test/resolution_test.cpp
@@ -264,10 +264,6 @@
         "Priority": "H"
     },
     {
-        "LocationCode": "/proc0",
-        "Priority": "A"
-    },
-    {
         "LocationCode": "P0",
         "Priority": "L"
     }
@@ -282,17 +278,9 @@
     },
     {
         "LocationCode": "/proc0",
-        "Priority": "M"
-    },
-    {
-        "LocationCode": "/proc0",
         "Priority": "H"
     },
     {
-        "LocationCode": "/proc0",
-        "Priority": "A"
-    },
-    {
         "LocationCode": "P0",
         "Priority": "L"
     }