test harness for two way link list