The tests assume a single jar file will be available, but if the project's version has changed and a clean build hasn't been performed, there will be more than one jar available. We can avoid the problem by building the jar without a version in its filename.