added simple test for accessors.rb