Adding test for creating todo items and associated code