Add `assert self.next_object_number() == expected_next_object_number`