fix(api): task tests