Fix buy with tests not adding newlines like #gets does