Add more tests for trailing blank lines