fix config and alert value default
update tests