Fix vectorlayercache test