Tests for enter handler for multi-line string fixed