build.gradle: fix building the tests