CLOUDIFY-1229
modified test - changed the exception type that the test catch back to RemoteException