fix tests, gitignore and client (good defauls)