Add basic test and make it pass

- Removed require-final-newline as it doesn't seem to impact the test.
- For the tests to pass I had to use (open-line 2) instead of 1, when
  appending to the destination buffer.  This results in two lines
  between defns when I try it locally, even with emacs -Q.  I have no
  idea what this is about.