Added gcd as basic test.