Created "dbtest" profile for extensive db-specific tests (multithreaded consistency, performance). Small test fixes.