Added test class and main method to test Client1/2.