test for nested passbyref