refactoring, added testPage (only with prepared DB)