rfe13171: fix tests for "improve check unknown variable warnings"

tests added    : no
tests run      : agtest.sh 2
performance    : no change
release note   : none, test change only

Change-Id: I550d94578f9d0d23f8481f4f0c7c8be1e420cb72
Reviewed-on: https://gerrit.franz.com:9080/4227
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>