[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.
As mentioned in the meeting, how about add some negative test here, for the case with input = -1 or bigger than size().