Added a controller test for todo lists