[Issue 46] Tests fail if classes are immutable. Extended audit of code locations.

https://github.com/MutabilityDetector/MutabilityDetector/issues/46