Add testcase for #80
Fix the parsing of features without line feed at the end

Closes #80