Added new test to test-deferred-warnings.script to assess how undefined variable warnings are handled.