Nested classes - tests for access to enclosing class attributes