Improve assertions in check_project_alerts test
Support project_alert_pct option