Add test output to gradle.