location and distance parameters are tested