test quadForm and cubForm