Added some tests for list and task