some bugfixes

regression tests now work on node-client