added test for cloud