Add test for task library support, fix typo