Add test that a Proxy instance with getPrototypeOf trap use instanceof operator on a function (#2107)