Add tests for mixed inheritence/inclusion
The preexisting tests didn't fully test the various forms of inheritence
and inclusion. This commit adds tests for finding variable values
through:
class local scope
class inheritence scope
class inclusion scope (with deprecation warning)
class inheritence+inclusion scope (finding through inheritence)
node scope
top scope