add test file to access var in outer scope