prepend the instrumented_classes to all test tasks and don't bother removing the output files, a sourceSet might have several output paths and not all of them might be included in instrumentation. For Cobertura it is enough that the instrumented classes occure first
Merge pull request #65 from maddingo/master

prepend the instrumented_classes to all test tasks