Making this a `testCompile` dependency (see lines 581-583) looks right as the dependency is only used in `src/test/java` and the build is successful with this change in place. However, it may warrant further review.