[PATCH v3 3/3] list: test: Add a test for list_entry_is_head()