fix unit tests for mono