Declare environment variable mock above method description
Refactor test for Client class