Add test for ll_list::insert and fix it.
Prevent refcount from reaching 0 during insert.