Test for retain cycle