added test for immutable date