Tests ownerptr