todo item delete test and code