Fix error message retrieval.
Initial tests for Api and NobelObject. tox and TravisCI configurations.