Test the API first to speed up Travis.CI debugging.