Fix to rapid API tests