Add structdef nested scope test