fixes broken unit test and removes duplicate commons-io reference from pom.