Fix up API tests (/api/v4/, not /api/)