Added a test for destroying lists

Added a test for destroying todo lists