dummy nodeDistance implementation; basic nodeDistance test