Adding deployment test cases

Signed-off-by: Lahiru Sandaruwan <lahirus@apache.org>
Fixing a test failure
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos