JDK7: fixed WMSLayerTest