Test for get_scalar_constant_value(empty array)