#360 fixing compilation error about the unit test from TaskDescriptor