Some unittest code.

Change-Id: I8526b72dd443b5dfa462cb2df6ffc3713193f9fe
Merge branch 'csr1kv_for_routing' of github.com:CiscoSystems/quantum into bp/csr1kv_for_routing