fixed tests where i screwed up lexical scope cuz i'm an idiot