Added/updated unit tests.

Corrected unit tests after code refactoring and added new unit tests
for the CiscoCfgAgentWithStateReporting. Coverage is improved now.

Change-Id: I491bb6f11e5aba80ccb275226077b9f5c789aa9a