Use Blob polyfill for tests so that they work with PhantomJS and Travis CI.