test factory analysis but get correct answer