fixed tests in phantom with bind polyfill