add linklist cycle and some test