added testing for quad