ensuring the original invariant array is copied and can not be modified
hash code scenario tests - demonstrating examples from the original publication and other use cases