Fix tasks-lib tests

- do not use type in tasks lib tests
Merge pull request #323 from stavamichal/fix_tasklib_tests

Fix tasks-lib tests