Removed unused code from system and webview tests