Added a test for a string that is > 500 characters which we currently don't handle correctly
Fixed multiline input when commands are run one at a time. Also solved the curious case where the begin was only sometimes chomped in multiline. Turns out it doesn't always have a space behind it.