[Android] Add test cases for onReceivedTitle.

This patch is to add test cases for onReceivedTitle().
Test this interface with url and data, verify the title.
Merge pull request #2309 from wuhengzhi/onReceivedTitle_test

[Android] Add test cases for onReceivedTitle.