more tests, more work to get inmemory storage working