several fixes on new task implementation and test suite