functional test checks to input a to-do item