[Android] Add test case for clearCache().

This patch is to add test case for clearCache().
Request the url from TestWebServer, record the hit count to
webserver and compare the count with the expected number.