Australia hands Sri Lanka its biggest loss in test cricket