Fix Mono unit tests