Fixing web unit tests