[vega]refac tests