Fix a typo
Bugfix: wrong variable name
Some tests for task logs API