Fixed windows assertion error

Platform-specific line separator resulted in failed assertion on Windows when running `mvn test`.