Implemented BlockTemplateTests.