Adding distance joint test