TestsBayesNet.py: add unit test for `genpermutations`
TestsBayesNet.py: add unit tests for `makefactor`, `pointwise` and `sumout`
TestsBayesNet.py: add unit tests for ask functions