Fixed bug in web tests