key: Add some tests cases for keys with nested maps.
key: Add some tests cases for keys with nested maps.

Change-Id: I6a5afec48f4039793c9ed04f1519d34ab1a649f1

aristanetworks/goarista,aristanetworks/goarista