Added the test for the list_item model

Accidentally forgot to add the test in the last commit. Here is the test I wrote for the model.