Testing a simple to-do list app using Swift