check that patches are actually applied