Improves use of docker-java in unit tests

Starts to address Issue #25.