fix(tests): broaden variable c scope