Separate new JAR file creation for testability