Fix in_array for test