test client in nodejs