Add FuncTest task to Gradle build