Fix failing unit test on Mono
Fix failing unit test on Mono