check that finalize did not create a new ref