Added test_compare_key().