Add tests for ceilometer api.

Change-Id: I5b3392de8bae2be8cbcba7a580af669676e54052
Correct usage of ceilometer api and add
import for ceilometer api.