Add test exercising old-style vs new-style inner struct access