Simple test cases to check the difference between immutable behavior and mutable one.