testing and fixing bugs in openlayers