[Android] Add test case for onReceivedErrorTest().

This patch is to add test case for onReceivedErrorTest().
Open some urls with error format, the resource client will receive
the related error. Verify the error information with the expected
result.
Merge pull request #2067 from wuhengzhi/onReceivedLoadError_test

[Android] Add test case for onReceivedErrorTest().