added mock to requirements
refactored tests

Using the mock library. Checking that every Client method gets
tested for not raising an Exception and for construting the request
params correctly.
fixed exception handling in _raise_for_status