Added test for blocks inside attributes