Shared tests for block and Xml assembly