Write a function to find the minimum value in a given heterogeneous list.
def min_val(listval):
     min_val = min(i for i in listval if isinstance(i, int))
     return min_val
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to find the minimum value in a given heterogeneous list.
def min_val(listval):
     min_val = min(i for i in listval if isinstance(i, int))
     return min_val[/INST]assert min_val(['Python', 3, 2, 4, 5, 'version'])==2
assert min_val(['Python', 15, 20, 25])==15
assert min_val(['Python', 30, 20, 40, 50, 'version'])==20</s>