After dominating the first two and a half days of the opening Test against Sri Lanka, Australia found itself battling an unexpected adversary — Galle’s unpredictable sub-tropical weather.