functional test now checks input for a to-do item