Unit tests for cloud model.