Change Exceptions tests to more jasmine idiomatic code