Added testcases for todo backend