add a test for preserving the line numbers