Fix is_pointing_to test