Quality Meat Scotland (QMS) is finalising a new testing system to check that Scotch beef sold in restaurants was actually produced in Scotland.