small changes in "database" module and in "database" test page