Add tests for sequential multiInstanceTask