add deepFreeze and its test