tests for client passing locally