Fix tests for the SwaggerFormatter