tests + bug fix: convert VArray to VArray