[Android] Add test case for getTitle().

This patch is to add test case for getTitle().
Open a url, get the title on ui thread, compare it with expected.