Improve tests
Clean and refactor
Handle params for json client
New release