#85: updated all c# tests, fixed GC collection on callback functions