deal with local storage being unavailable
fix promises in findTasks
properly initialize InMemoryStorage in test