Test gsh reading commands from stdin