added tests for immutability we want to implement