Change attr_accessor to attr_reader.
Spec for ping response handling.