More code for ListHead, and more tests