LPS-42647 Add versioning to structures and templates
LPS-42647 Fixed tests for structure and template versioning