add cloud test and test sample