add a way to test client.dart