feat(localforage): improve testability of the case that no driver is available