add onPause and onResume in TestHTML5WebView