add more test cases to improve the test code coverage #3

In this patch, the following module test coverage improved to 100%

ceilometer/agent.py

Change-Id: I06ac05d8b3e77f67e0f25df08db25ddcb1f087ac
Merge "add more test cases to improve the test code coverage #3"