Add support for empty lines (+ tests)