Singapore may be small, but within that space (a bit over 700 square km) it has everything larger countries have. Towns, expressways, nature reserves, military bases, airports, etc.
Thus, it is an excellent place for testing such things as self driving cars.