Make test for attr_reader method