Instead of checking actual jars into the repo and using them from this test, would it instead be possible to mock the LibraryVersionLoader here and have the mock return null or non-null depending on what you're trying to test?