add test to validate protocol line endings