I wish you luck with your ROSPA test but would advise you to check with the highway code as to the purpose of "flashing your headlights" before you take the test.
Maybe its not 'highway code', but can you suggest a better way of attracting attention in this scenario? Or would you just follow them until they hit something because the highway code does not allow for flashing lights at other road users?