fix bug in multiCactusTreeTest.py which was checking for wrong solutions for degrees larger than 2.