Extract checkImmutableMutable into TestUtils
wip
Don't try to set properties on ImmutableError.
Fix non-mutating array method tests.
Check the error type when expecting an error from the mutating methods.
Clean up the obsolete testClaims function.