Add test of iterating over object wrapped with ObjectProxy.