[Android] Add test case for size(), hasItemAt() and getItemAt().

This patch is to add test case for size(), hasItemAt() and getItemAt().
Load url and get history size, get item at specified index, compare them with the expected result.
Judge whether has item at specified index.
you should go back and get history size again for test.