Parse 'while condition: ...' and test for extra newline removal