Added Danilo's gcd test. Updated documentation.