Added tests for deepExtend