public static async Task <Race> InsertRace(ConnectionFactory connectionFactory, Location location = null)
        {
            IRaceDao raceDao = new RaceDao(connectionFactory);

            location ??= await LocationDaoTests.InsertLocation(connectionFactory);

            Race race = new Race
            {
                Name            = "Kitzbühel Slalom",
                Date            = DateTime.Today,
                Location        = location,
                Gender          = Gender.Female,
                RaceType        = RaceType.Slalom,
                Description     = null,
                Website         = null,
                NumberOfSensors = 5,
                Status          = RaceStatus.Ready
            };

            race.Id = await raceDao.Insert(race);

            return(race);
        }