Added test for AppIndexApi