fix Javascript SDK tests for .NET runtime

Yes, we can use 'eq' here.