added test for quad form