[ONOS-6477] Add EventuallyConsistentMap test scenario to primitive tests

Change-Id: I2a6babeb4e306b078bc2dd113bac3c45608be93e
diff --git a/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/DistributedPrimitivesTest.java b/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/DistributedPrimitivesTest.java
index 3191696..f5c9eec 100644
--- a/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/DistributedPrimitivesTest.java
+++ b/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/DistributedPrimitivesTest.java
@@ -75,7 +75,7 @@
     public EventuallyConsistentMap<String, String> getEcMap(String name) {
         return maps.computeIfAbsent(name, n -> storageService.<String, String>eventuallyConsistentMapBuilder()
                 .withName(name)
-                .withSerializer(KryoNamespaces.BASIC)
+                .withSerializer(KryoNamespaces.API)
                 .withTimestampProvider((k, v) -> new WallClockTimestamp())
                 .build());
     }