[JBASMP-48] Added new tests for deploying, undeploying and redeploying. ...

...Created a delegating ModelControllerClient that doesn't close the connection for the command context.