I have tested this myself in the past. Weather or not it works in your favor depends on the level of players you have at the table. Sometimes you even get a dream call with some hand that is crushed, but they make a straight or something on the river. Over all, I prefer to re-raise, but not go all in with those situations.