Add test to verify that chomped_lines and lines die if called like a method