Test for weak-pointer utilities.