API tests on Travis - fixing