Fix Swagger tests