Australia won the toss and elected to bat first in the first Test  being played at the Galle International Cricket Stadium.