polishing core polynom unit tests