Cleanup tests/ packaging

Details in the commit messages.  These are the same changes I've
suggested in heynemann/preggy#18.