Added testing infrastructure for db_helper.php