testlib; use the first element of the array, it may not have second one