Added bind shim to test, PhantomJS does not have a bind implementation.