Fix specs that throw DeveloperErrors.
Merge pull request #1761 from AnalyticalGraphicsInc/fixDeveloperErrorSpecs

Fix specs that throw DeveloperErrors.