Test client added

Added a client,changed the methods,bugfixes