Wrapping previously global things in a context struct, un-flaking tests

mostly by removing a no-op script that only gets ignored sometimes, and won't be valid in the future I want...