Tiny changes to tests and file permissions.