Add path assertion snippet