two_way link test and empty node tests