refresh cfg during test to avoid propagation races