Add test for deep copy of array members with $.extend(). (gh #696)