Add db_exists check in bench
Change strncmp to ness_strcmp