GRADLE-3022 Adjust test expectation related to filesMatching

+review REVIEW-5135