Added tests for core/immutable