added test checks in intrusive_ptr_add_ref/release