fix tests after adding release type to templates
fix distcheck