Fix a typo in tests/test_shell_mode.py
PEP 8 new line fixes
Add test for argument mangling in shell mode