added test for deep proxy