Update intg test using factory