This commit adds tests for baseRequest, with the aim to improve the code coverage of the whole repo. Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220