Fixed c# method invocation bug with null, enabled tests

There were some crashes when a method was invoked with $null like in the added test.