Fix cross-platform bugs in tests
Fix cross-platform bugs in tests

Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet