Remove debug print in test_shell_magic