[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.