Add spec to client_test.erl
Merge branch 'next'