Fix tasks-lib tests

- do not use type in tasks lib tests
Merge branch 'fix_tasklib_tests' into engine_test