Adding getClipData tests.
Adding getAd implementation.
Adding getAd tests.