diff --git a/tests/Layer/test_WFS.html b/tests/Layer/test_WFS.html
index 67b685d23f..49b02f2f46 100644
--- a/tests/Layer/test_WFS.html
+++ b/tests/Layer/test_WFS.html
@@ -47,6 +47,7 @@
} catch (Exception) {
}
t.eq(layer.tile.url, "http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?typename=OWLS&maxfeatures=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A4326&BBOX=-187.890625,-36.6796875,-12.109375,156.6796875", "Tile URL is set correctly when not encoded");
+ map.destroy();
var map = new OpenLayers.Map('map');
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}