tried to fix tests but phantomjs has issues with blob