adds tests for factor reduce
adds tests for factor reduce

anaviltripathi/pgmpy,kris-singh/pgmpy,liquidmetal/pgmpy,palashahuja/pgmpy,yashu-seth/pgmpy,anaviltripathi/pgmpy,khalibartan/pgmpy,pgmpy/pgmpy,pratyakshs/pgmpy,jhonatanoliveira/pgmpy,sandeepkrjha/pgmpy,yashu-seth/pgmpy,jhonatanoliveira/pgmpy,ankurankan/pgmpy,sandeepkrjha/pgmpy,abinashpanda/pgmpy,ankurankan/pgmpy,palashahuja/pgmpy,pgmpy/pgmpy,abinashpanda/pgmpy,pratyakshs/pgmpy,liquidmetal/pgmpy,kris-singh/pgmpy,khalibartan/pgmpy