added a test-client for debugging