RUBY-844 remove attr_reader and clean up test