add client factory and simple test for handle cookie
rewrite client for new client factory
create new project for JUNIT tests only and change all test for