[tests] add basic tests for tasks