added and passed tests for creating todo list