Add more database tests
Fixes #5
Only delete list if ammount of collaborators is one
Removed unused code