Fixing a broken test that hadn't running on Jenkins, but now is after the latest change to the Gradle build.