Testsuite enhancements from OpenLayers/GeoExt 1

See openlayers/openlayers@57c16b7 & geoext/geoext@aaab5eed.
Merge pull request #211 from marcjansen/testsuite-enhancements

Testsuite enhancements from OpenLayers/GeoExt 1