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