Pakistan beats Australia in world test ranking