Fixed missing function in web test