DDF-401: Removed extra pom dependency.

Cleaned up inputstream close, and adding some additional test logging.