Find a way to correctly test neww mariadb_service_restart_required? method