Added test cases for taskRunner