added Test legal references (support #6640)