Database test tool