Fix test on mono