set rupture and distance context params in test without calling setattr