added missing function to test page