first api layout and test layout for persisten store
improved the test layout and extendend the api