Added a Function.bind polyfill so the tests now also work in IE8.