add polyfill for Function.prototype.bind in tests because phanton dosn't support that