Make the tracking_hash test independant of ref counting