[Android] Add test case for getCurrentIndex().

This patch is to add test case for getCurrentIndex().
Load two urls, navigate to back url, get the current index and compare it with the expected result.
navigate to forward url, get the current index and compare it with the expected result.