Fix some tests for mono