Fix ceilometer api tests.

Change-Id: Ia9fd2943871be7131d1d2adb287411d2b5737be0