Add stage task for fgtest