Add tests to ensure correct behaviour of preamble

 - Ensure that if there if no edits are made that the command detects that
 - Check that the file is untouched
Fix bug that removed newlines at end of file
Appropriate @elyscape test with --no-preamble option
Merge pull request #122 from sihil/sihil-add-preamble-tests

Add preamble tests