Fixed escape_for_shell tests for running under 1.9.3