testing: bug fix in test_web