add test for interface in nested classes