Added distance test with real data.