Add tests on sequence and composite structure diagrams.