added unit test for tasklog