[Android] Add test case for getTitle().

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