debug database test setup