Bug fixing: using system encoding to send unicode commands to shell in tests