test cloud code