Add ut-array assign test.
Fix array assignment operator.