test for waldo dist