Added tests for namespace clients function