enh: augment string parameter for algorithms by optional dict of kwargs
fix switch_to test.
Also, don't switch back after switching.