[TESTS] check for output array length.