Add test cases for consecutive new lines and duplicate requires.