Fixing API tests for travis, hopefully once and for all.