Fix in test_web

Fixes some tests that were failing after a bad merge conflict resolution for #789