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

why catch all exception?