Issue 12

Adds test coverage to Deploy.java and implements functionality discussed in issue #12.