stages and testStage