testing inmemory storage