GRADLE-3022 Adjust test expectation related to chained application of filesMatching

+review REVIEW-5135