Add double quotient structures and tests in S3E7