Test multilne and buffer size restriction