Tests for deepExtend