libbalde_template: added template parsing test