Sri Lanka elects to bat in 2nd test vs. Bangladesh