Add test for sanitized_text method with Array.