Fix tests to work with multiple verison of swagger