test for new task api