Add tests for ceilometer API.