All of the new `toThrow` calls need to be replaced with `toThrowDeveloperError`, which makes sure the correct exception is thrown and also allows use to run the specs after the DeveloperErrors have been processed out of the minified version.