created testclass ClientStateTest