Under RDE [Real Driving Emissions test], a car is driven on public roads and over a wide range of different conditions..... Conditions include:
- Low and high altitudes
- Year-round temperatures
- Additional vehicle payload
- Up- and down-hill driving
- Urban roads (low speed)
- Rural roads (medium speed)
- Motorways (high speed)
Source: https://caremissionstestingfacts.eu/rde-real-driving-emissions-test/
More details are mentioned in this article:
The 1.5- to two-hour test (over around 50 miles) has an equal split of urban, rural and motorway routes, takes into account stops/starts in towns and must exceed 56mph on appropriate roads.
...
The goalposts for RDE will keep moving, too. For example, at the moment, manufacturers must sign a legal document stating that the RDE results can be achieved in certain conditions, such as an altitude of up to 700 metres. From 2021, that will extend to 1300m.
So the answer to your question is: tests include real driver behavior, but not any of the inefficient habits you mentioned. Since manufacturers have to perform the test themselves they won't do anything (outside of the test requirements) that will have a negative effect on the outcome of the test.