Added blocks to getters and setters and added test snippet with a for
loop containing multiple expressions in a single place, extracted from
pdf.js