Wrote my own tests and verified that local variables are contained within the scope of each individual test.