This version merges most of the interactive executor with the batch executor of SoS and makes sure that workflows executable in batch mode can also be executed correctly in interactive mode, regardless of the different running environments. This is enforced by executing all unit tests of sos inside sos notebook.