Alastair Cook equals world record in test cricket