Corrected test for creating todo items