add quad macro tests