Fix test in PhantomJS - don't use bind