VE-1413 Adding test for suggestion and search suggestion for inserting templates

finally block will execute no metter what