move tests out from base_test.rb

These tests should be in inheritance_test.rb since its testing a
feature which is implemented in inheritance.rb
Merge pull request #9765 from tkhr/mv-tests-out-from-base_testrb

Move tests out from base_test.rb to inheritance_test.rb