Add a unit test to bind the this pointer when injecting a function.

Also, prevent repeated binding of the injected function after it has
been bound once (even if the zone was reset).