fix test suites

To test:
````
for i in test/unit/*; do ./node_modules/.bin/jaribu $i; done
for i in test/unit/baseclient/*; do ./node_modules/.bin/jaribu $i; done
````
it was duplicate code, it now takes thes classes from `test/helpers/mocks.js`