Add code to test IAP flow.