Refactor 'I have x to-do items' test