Add unit test for task settings