test last_non_blank_line