nested classes test