Added tests to t_array.c