Finished tests on getConstraints().