Mohammad Ashraful hit an unbeaten half-century to help Bangladesh close day two of the first Test on 135-2 in reply to Sri Lanka's 570-4 declared.