Respect new ref_counted interface in tests.
SDD: zero_ptr() and one_ptr() are private.