fixed bug in ListTest