Corrections in output and some testing
Corrected task removal in intree