[tests] Improve configurations of sgen tests