test for nested binding