fixed some tests that failed due to difference in the mono runtime