Add more tests for api
Indentation
Travis one more time !