Fix type of exception for listRuns test

Hi @YuyiGuo,

this patch fixes the type of exception the listRuns test is checking for. Please, review and merge.

Thanks,
Manuel