ITTE-1163 - Created unit test

- Created task unit tests.