Allow callables as the argument to RunPython
Remove most errors when running migration tests twice