Test the DB testing code