Bug 1070845-r1 - [sharedtest] unit test refactoring for new version chai.assert api

I think it is a mistake to make this test depend on the precise string error message returned by code that is completely out of our control. A minor string change in the createObjectURL() implementation could make these tests fail. The point is just to test that the promise is rejected. We don't care what the string is.