Cover ```api.py``` (maybe as described in [PR 7](https://github.com/ESSS/qmxgraph/pull/7#issuecomment-286749007)).