test: fixed call to set-default-handler.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Correctly handle messages containing several JSON objects.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>