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