Retain line numbers when you run the tests

I think this commit fixes the problem with the line numbers being lost when you press "test".