Adding test for list tasks view