improve tests that deal with the API, find out how to mock the chain
we need to mock the chain in tests, there is a way, look here https://github.com/polkadot-js/api/blob/master/packages/api/src/promise/Api.spec.ts
we need to mock the chain in tests, there is a way, look here https://github.com/polkadot-js/api/blob/master/packages/api/src/promise/Api.spec.ts