store() accept list of strings instead of map<string,string>; add some tests