fixed test triggering SAWarning