composite constraint tests