Add test case for task 1 and task 3.