Add tests for 'files' and 'error'.