Database has been set and tested using simple query (get all document
types).