* fix #12219 #15822 * add test with array * update samples --------- Co-authored-by: Rodrigo Maciel de Almeida <rodrigo.almeida@wefin.com.br>