added test for blockDefinition