Tests

To run tests, cd into src and then run `make check`.  (Normally you should be able to do this in the top level directory as well, but that would probably fail right now on appdata-validate.)