using is_definitely_vector to improve testing