test factor workflow