Unit testy pro postgresql document store