Update test_insert() and test_append() to verify the fully built list has the expected head/tail values.