Fix block definition for GCD.
Add new test.