Test database util fixed