tests for complex polynom with some type bugs corrections