test for planning direct link