Behaviour of high Mach number boundary layers with sudden pressure gradient changes