Add basic check for config block syntax

- begin_tag and end_tag should match