Protect test against dictionary randomisation