Test gradient reference in binding for gradient in bound document with external binding