run_shell fix and test for it