CLOUDIFY-1997 Fixed unit test