[Android] Add test case for getCurrentIndex().

This patch is to add test case for getCurrentIndex().
Load the first url, get the current index and compare it with the expected result.
Load the second url, get the current index and compare it with the expected result.