fix Javascript SDK tests for .NET runtime

is context still used?