Added distance in test