add unit tests for DowngradeConstraints