added #check method to client

By yielding `client.check()` you can test if everything works out fine
(e.g. API is available and credentials are right)