common: Add a unit test serializing GoalMap of maps

Change-Id: Ib2756a0d20c93d42eee4003ae4efb8cabecae91f