add spec test for cloud.rb

Change-Id: I94f8aac08cf631fb83e3df02ad552fc178a2e0e5
Merge "add spec test for cloud.rb"