Tom Dearden did enough to keep Sam Walker out of the Kangaroos No.7 jersey as Australia recovered from an early scare against Cook Islands.