added test for todo index view