Support of local_storage on OSX

The driver is not perfect, but the tests are OK.